package cn.iocoder.yudao.module.obj.enums.obj;

import cn.iocoder.yudao.framework.common.core.IntArrayValuable;
import lombok.Getter;
import lombok.RequiredArgsConstructor;

import java.util.Arrays;

/**
 * Obj的项目类型
 *
 * @author haiyun
 */
@RequiredArgsConstructor
@Getter
public enum ObjXmlxEnum implements IntArrayValuable {
    XMLX_GQJR(0, "光纤接入"),
    XMLX_FWBG(10, "带宽租赁"),
    XMLX_FW(20, "服务");


    private final Integer status;
    private final String name;

    public static final int[] ARRAYS = Arrays.stream(values()).mapToInt(ObjXmlxEnum::getStatus).toArray();

    @Override
    public int[] array() {
        return ARRAYS;
    }

}
